var id = getUrlParam('id');
    var flag = getUrlParam('flag');
    var from = getUrlParam('from');
    if (from == 'pj') {
        $(".evaluate-result-container").show()
        $(".pay-result-container").hide()
        if (flag){
            $(".evaluate-success").show()
            $(".failure-evaluate").hide()
            //评价成功
            setTimeout(function () {
                location.href = "index.html"
            }, 1000)
        } else {
            $(".evaluate-success").hide();
            $(".failure-pay").show()
            //失败
        }
    } else {
        $(".evaluate-result-container").hide()
        $(".pay-result-container").show();
        if (flag) {
            $(".payment-success").show()
            $(".failure-pay").hide()
            //支付成功
        } else {
            $(".payment-success").hide();
            $(".failure-pay").show()
            //失败
        }
    }
    $("#main").on("click", ".goHtml", function () {
        if ($(this).attr("_attr") == 0) {
            location.href = "order_details.html?id=" + id;
        } else if ($(this).attr("_attr") == 1) {
            location.href = "order_details.html?id=" + id;
        } else if ($(this).attr("_attr") == 2) {
            location.href = "review.html?id=" + id;
        }
    })

